﻿
using System;
using System.Linq;
using System.Text;
using SqlSugar;


namespace Model.Models
{
        ///<summary>
    ///用户信息表
    ///</summary>
    [SugarTable("UserInfo")]
    public class UserInfo
    {
        public UserInfo()
        {
        }
                   /// <summary>
           /// Desc:主建自增
           /// Default:
           /// Nullable:False
           /// </summary>
        
           [SugarColumn(IsPrimaryKey=true,IsIdentity=true)]
        public int ID { get; set; }

            
           /// <summary>
           /// Desc:用户账户,系统生成
           /// Default:
           /// Nullable:False
           /// </summary>
        
        public string UserAccount { get; set; }

            
           /// <summary>
           /// Desc:用户昵称
           /// Default:
           /// Nullable:False
           /// </summary>
        
        public string UserName { get; set; }

            
           /// <summary>
           /// Desc:Email
           /// Default:
           /// Nullable:True
           /// </summary>
        
        public string UserEmail { get; set; }

            
           /// <summary>
           /// Desc:密码,加密
           /// Default:
           /// Nullable:True
           /// </summary>
        
        public string UserPwd { get; set; }

            
           /// <summary>
           /// Desc:默认200,200启用,500禁用,404,禁止登录
           /// Default:200
           /// Nullable:False
           /// </summary>
        
        public int AccountType { get; set; }

            
           /// <summary>
           /// Desc:更改密码,发邮件,然后更改状态,默认为0,点击忘记密码,重置为1,更改成功为0
           /// Default:0
           /// Nullable:False
           /// </summary>
        
        public int AccountUpPwdType { get; set; }

            
           /// <summary>
           /// Desc:头像,base64,我们会给一个默认头像
           /// Default:
           /// Nullable:True
           /// </summary>
        
        public string AccountPortrait { get; set; }

            
           /// <summary>
           /// Desc:一句话,介绍,默认
           /// Default:
           /// Nullable:True
           /// </summary>
        
        public string UserIntroduce { get; set; }

            
           /// <summary>
           /// Desc:个人主页
           /// Default:
           /// Nullable:True
           /// </summary>
        
        public string HomePage { get; set; }

            
    }
}
                    